package com.insurance.common.enums;

/**
 * @version 1.0
 * @date 2020/9/20
 **/
public enum CommonResponseEnum {

    SUCCESS("00000", "成功"),
    ERROR("99999", "失败"),
    SYSTEM_ERROR("-1", "系统异常");

    private String code;

    private String msg;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    CommonResponseEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

}
